package com.br.aiops.receiver;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AlertLog implements Serializable {

    /**
     * 告警日志中的消息部分
     */
    private String alertName;
    private String service;
    private String hostname;
    private String podName;
    private String level;
    private Date logTime;
    private String errorCode;
    private int partition;
    private String subEnv;
    private String subject;
    private String receiver;

    /**
     * 原始日志消息
     */
    private String message;
}
